package x.ovo.wechat.bot.common.http;

import lombok.Getter;
import lombok.Setter;

@Getter@Setter
public class EngineConfig {
    private int connectionTimeout;
    private int readTimeout;
    private int writeTimeout;
    private boolean disableCache;

    public EngineConfig() {
        this.connectionTimeout = 60;
        this.readTimeout = 180;
        this.writeTimeout = 60;
        this.disableCache = false;
    }

    public static EngineConfig create() {
        return new EngineConfig();
    }
}
